package com.haoqizhe.kernel.activemq.common;

/**
 *
 * @author haoqizhe.li
 */
public class ActivemqConstant {
	/**
	 * 消息头信息
	 */
	public static class MessageHeadersParam{
		public static final String TIME_OVER_DO = "timeOverDo";
		public static final String RESEND_TIME = "resendTime";
		public static final String REPLY_TO = "replyTo";
		public static final String REPLY_TYPE = "replyType";
		public static final String CORRELATION_ID = "correlationId";
		public static final String LOG_ID = "logId";
	}

	/**
	 * 消息目的地前缀
	 */
	public static class DestinationPrefix{
		/**
		 * 主题前缀
		 */
		public static final String TOPIC_PREFIX = "topic://";
		/**
		 * 队列前缀
		 */
		public static final String QUEUE_PREFIX = "queue://";
		/**
		 * 虚拟主题前缀
		 */
		public static final String VIRTUAL_TOPIC = "VirtualTopic.";
	}

	/**
	 * 消息目的地类型
	 */
	public static class DestinationType{
		/**
		 * 队列
		 */
		public static final String QUEUE = "queue";
		/**
		 * 主题
		 */
		public static final String TOPIC = "topic";
	}

	/**
	 * 日期的格式
	 * 
	 */
	public static class DateFormat {
		public static final String DEFAULT = "yyyy/MM/dd";
		public static final String SHORT = "yyyyMMdd";
		public static final String HYPEN = "yyyy-MM-dd";
		public static final String MINUTETIME = "yyyy-MM-dd HH:mm";
		public static final String TIME = "yyyy-MM-dd HH:mm:ss";
		public static final String TIMESTAMP = "yyyy-MM-dd HH:mm:ss.SSS";
		public static final String TIMES = "yyyy/MM/dd HH:mm:ss";
		public static final String TIMESTAMPS = "yyyy/MM/dd HH:mm:ss.SSS";
		public static final String HOUR24MIN = "HH24:mi";
		public static final String YYYYMM = "yyyyMM";
		public static final String YYYY = "yyyy";
		public static final String MM = "MM";
		public static final String DATEHHMM = "yyyyMMddHHmm";
		public static final String DATEHHMMSSS = "yyyyMMddHHmmssSSS";
		public static final String DATEHHMMSS="yyyyMMddHHmmss";
		public static final String DATETOYY="yyMMddHHmmss";
		public static final String FILETIME = "yyyy\\MM\\dd";
		public static final String CHINATIME = "yyyy年MM月dd日";
		public static final String MMDD = "MMdd";
		public static final String MMDDHHMMSS = "MMddHHmmss";
	}
}
